home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
DATACH.CST
/
00214_Script_popUpparamcharts
< prev
next >
Wrap
Text File
|
1999-03-07
|
1KB
|
57 lines
property thePopLocv, popSpritev, popNamev, mySpritev, faraway, fieldObjv
global popbgSpritev
on new me
set mySpritev = the spriteNum of me
set popSpritev = mySpritev + 1
set popbgSpritev = mySpritev - 3
set right = the right of sprite (mySpritev - 2)
set top = the top of sprite (mySpritev -2)
set thePopLocv = point(right, top)
set popNamev = "param list"
puppetSprite popSpritev, true
set faraway = point(-1000, -1000)
set the loc of sprite popSpritev = faraway
return me
end
on register me, theObj
set fieldObjv = theObj
end
on mouseDown me
set the member of sprite popSpritev = member popNamev
set the loc of sprite popSpritev = thePopLocv
set the member of sprite popbgSpritev = member popNamev
set the loc of sprite popbgSpritev = thePopLocv
-- put "popped - " & thepoplocv
updateStage
repeat while the stillDown
checkIfInside fieldObjv
end repeat
set name = getPlaneNamev(fieldObjv)
if name = "" then
nothing
else
set the text of member "current param" = name
setupchart
-- disSpecs name
end if
set the loc of sprite popSpritev = faraway
set the loc of sprite popbgSpritev = faraway
updateStage
end
on mouseUp me
nothing
end